package com.cqw.controller;

import com.cqw.service.HttpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-04-27 11:55
 * @Description:
 */
@RestController
@RequestMapping
public class HttpController {

    @Autowired
    private HttpService httpService;

    @GetMapping("/http")
    public String http() {
        httpService.doPost();
        return "OK";
    }
}
